class GlobalVariable {
  static const String BASE_URL = "https://live-api.itheima.net";
  static const int NET_WORK_TIME = 10; // 连接超时时间 请求超时时间
  static const int SUCCESS_CODE = 10000; // 成功状态码
  static const String TOKEN = 'enjoy_plus_token'; // token 令牌
  static const String REFRESH_TOKEN = 'enjoy_plus_refresh_token'; // 刷新token
  static const String GD_BASE_URL = "https://restapi.amap.com/v3"; // 高德地图基础地址
  static const String GD_KEY = 'ec6f580a9ed57f6731978c15a3a50fb1'; // 高德地图key
}

class HTTP_PATH {
  static const String ANNOUNCEMENT_LIST = '/announcement';
  static const String SEND_CODE = '/code';
  static const String LOGIN = '/login';
  static const String USER_INFO = '/userInfo';
  static const String UPLOAD = '/upload';
  static const String GD_REGEO = "/geocode/regeo"; // 逆地址解析
  static const String GD_AROUND = "/place/around"; // 周边地址
}
